package com.fita.entity.order;

import com.demo2do.core.utils.Alias;
/**
 * 
 * @author 宋剑宏
 *
 */
@Alias("PayStatus")
public enum PayStatus {

    UNPAID("未支付"),
     
    PAID("已支付"),
    
    PAID_FAILURE("支付失败"),
	
	REFUNDED("已退款"),

    PART_PAY("部分支付");
    
    private String description;

    /**
     * @param description
     */
    private PayStatus(String description) {
        this.description = description;
    }
    
    /**
     * 
     * @return
     */
    public boolean isPaid() {
        return this.equals(PAID);
    }

    /**
     * @return the description
     */
    public String getDescription() {
        return description;
    }
}
